package com.landinfo.repository;

import com.landinfo.domain.AppVersionManage;
import org.springframework.stereotype.Repository;

import org.springframework.data.jpa.repository.*;

import java.util.List;


/**
 * Spring Data JPA repository for the AppVersionManage entity.
 */
@SuppressWarnings("unused")
@Repository
public interface AppVersionManageRepository extends JpaRepository<AppVersionManage,Long> {

    AppVersionManage findOneById(Long id);

    @Query("select a from AppVersionManage a ORDER BY a.versionNumber desc")
    List<AppVersionManage> findLatest();

}
